package com.czhong.ssh.springTest;

/**
 * Created by DELL on 2017/2/18.
 */
public class ServiceImpl implements IService{
    private IDao dao;

    public void service(String str){
        System.out.println(dao.sayHello(str));
    }
    public IDao getDao(){
        return dao;
    }
    public void setDao(IDao dao){
        this.dao = dao;
    }
}
